<template>
  <div id="app">
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive">
          <!-- 这里是会被缓存的视图组件 -->
      </router-view>
    </keep-alive>
    <router-view  v-if="!$route.meta.keepAlive" />
  </div>
</template>

<script>
export default {
  name: 'App',
}
</script>
<style src="../static/css/index.css"></style>
<style src="../static/css/comm.css"></style>

<style>
/* @import '../static/css/index.less'; */
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #333333;
  font-size: 34px;
  background-color: #f5f5f5;
  min-height: 800px;
}
</style>
